package com.xd.core.company.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.xd.core.company.entity.OfflineTransferInfo;
import com.xd.core.finance.dto.PreDepositeQueryDto;
import com.xd.core.finance.vo.PreDepositeQueryVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 线下打款记录 Mapper 接口
 * </p>
 *
 * @author ZX
 * @since 2025-03-03
 */
public interface OfflineTransferInfoMapper extends BaseMapper<OfflineTransferInfo> {

    void updateStatus(String status, String clientTransId, String statusMsg);

    Page<PreDepositeQueryVo> getPreDepositRecord(@Param("pre") PreDepositeQueryDto preDepositeQueryDto, @Param("companyId") Integer companyId);

    void updateAllotStatus(String clientTransId, String statusMsg);
}
